<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="smart-doc">
    <%if(isNotEmpty(projectName)){%><title>${projectName}</title><%}else{%><title>API Reference</title><%}%>
    <link rel="stylesheet"
          href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
    <link rel="stylesheet" href="AllInOne.css?v=${version}"/>
    <%if(isNotEmpty(style)){%>
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/highlight.js/10.3.2/styles/${style}.min.css">
    <%}%>
    <style>.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
        background: ${background}
    }

    .hljs {
        padding: 0
    }</style>
    <script src="https://cdn.bootcdn.net/ajax/libs/highlight.js/10.3.2/highlight.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
</head>
<body class="book toc2 toc-left">
<div id="header"><%if(isNotEmpty(projectName)){%><h1>${projectName}</h1><%}%>
    <div id="toc" class="toc2">
        <div id="book-search-input"><input id="search" type="text" placeholder="Type to search"></div>
        <div id="toctitle"><span>API Reference</span></div>
        <ul id="accordion" class="sectlevel1"><%if(isNotEmpty(htmlToc)){%><%for(toc in htmlToc){%>
            <li><a class="dd" href="#${toc.name}">${toc.name}</a><%if(isNotEmpty(toc.children)){%>
                <ul class="sectlevel2"><%for(ctoc in toc.children){%>
                    <li><a href="#${ctoc.name}">${ctoc.name}</a></li>
                    <%}%>
                </ul>
                <%}%>
            </li>
            <%}%><%}%>
            <li class="open"><a class="dd" href="#${docDetailsOrder}.${docDetailsTitle}">${docDetailsOrder}.&nbsp;${docDetailsTitle}</a>
                <ul class="sectlevel2" style="display: block"><%for(api in
                    apiDocList){%><%if(api.isDefaultGroup){%><%for(doc in api.list){%>
                    <li><%if(doc.deprecated){%><a href="#${docDetailsOrder}.${doc.order}.${doc.desc}">${docDetailsOrder}.${doc.order}.&nbsp;<span
                            class="line-through">${doc.desc}</span></a><%}else{%><a
                            href="#${docDetailsOrder}.${doc.order}.${doc.desc}">${docDetailsOrder}.${doc.order}.&nbsp;${doc.desc}</a><%}%>
                    </li>
                    <%}%><%}else{%>
                    <li><a class="dd" href="#${docDetailsOrder}.${api.order}.${api.desc}">${docDetailsOrder}.${api.order}.&nbsp;${api.desc}</a>
                        <ul class="sectlevel2"><%for(doc in api.list){%>
                            <li><%if(doc.deprecated){%><a
                                    href="#${docDetailsOrder}.${api.order}.${doc.order}.${doc.desc}">${docDetailsOrder}.${api.order}.${doc.order}.&nbsp;<span
                                    class="line-through">${doc.desc}</span></a><%}else{%><a
                                    href="#${docDetailsOrder}.${api.order}.${doc.order}.${doc.desc}">${docDetailsOrder}.${api.order}.${doc.order}.&nbsp;${doc.desc}</a><%}%>
                            </li>
                            <%}%>
                        </ul>
                    </li>
                    <%}%><%}%>
                </ul>
            </li>
            <%if(isNotEmpty(errorCodeList)){%>
            <li><a href="#error_code_list">${errorListOrder}.&nbsp;${errorListTitle}</a></li>
            <%}%><%if(isNotEmpty(dictList)){%>
            <li><a class="dd" href="#dict_list">${dictListOrder}.&nbsp;${dictListTitle}</a>
                <ul class="sectlevel2"><%for(dict in dictList){%>
                    <li><a href="#${dictListOrder}.${dict.order}.${dict.title}">${dictListOrder}.${dict.order}.&nbsp;${dict.title}</a>
                    </li>
                    <%}%>
                </ul>
            </li>
            <%}%>
        </ul>
    </div>
</div>
<div id="content"><%if(isNotEmpty(revisionLogList)){%>
    <div id="preamble">
        <div class="sectionbody">
            <table class="tableblock frame-all grid-all spread">
                <colgroup>
                    <col style="width: 20%;">
                    <col style="width: 20%;">
                    <col style="width: 20%;">
                    <col style="width: 20%;">
                    <col style="width: 20%;">
                </colgroup>
                <thead>
                <tr>
                    <th class="tableblock halign-left valign-top">Version</th>
                    <th class="tableblock halign-left valign-top">Update Time</th>
                    <th class="tableblock halign-left valign-top">Status</th>
                    <th class="tableblock halign-left valign-top">Author</th>
                    <th class="tableblock halign-left valign-top">Description</th>
                </tr>
                </thead>
                <tbody><%for(revisionLog in revisionLogList){%>
                <tr>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">${revisionLog.version}</p></td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">${revisionLog.revisionTime}</p>
                    </td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">${revisionLog.status}</p></td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">${revisionLog.author}</p></td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">${revisionLog.remarks}</p></td>
                </tr>
                <%}%>
                </tbody>
            </table>
        </div>
    </div>
    <%}%>
    <div class="sect1 docAbstract">${docAbstract}</div>
    <h2 id="${docDetailsOrder}.${docDetailsTitle}"><a class="anchor"
                                                      href="#${docDetailsOrder}.${docDetailsTitle}"></a><a class="link"
                                                                                                           href="#${docDetailsOrder}.${docDetailsTitle}">${docDetailsOrder}.&nbsp;${docDetailsTitle}</a>
    </h2><%for(api in apiDocList){%>
    <div class="sect1"><%if(!api.isDefaultGroup){%><h3 id="${docDetailsOrder}.${api.order}.${api.desc}"><a
            class="anchor" href="#${docDetailsOrder}.${api.order}.${api.desc}"></a><a class="link"
                                                                                      href="#${docDetailsOrder}.${api.order}.${api.desc}">${docDetailsOrder}.${api.order}.&nbsp;${api.desc}</a>
    </h3><%}%>
        <div class="sectionbody"><%for(doc in api.list){%>
            <div class="sect2"><%if(!api.isDefaultGroup){%><h4
                    id="${docDetailsOrder}.${api.order}.${doc.order}.${doc.desc}"><a class="anchor"
                                                                                     href="#${docDetailsOrder}.${api.order}.${doc.order}.${doc.desc}"></a><%if(doc.deprecated){%><a
                    class="link" href="#${docDetailsOrder}.${api.order}.${doc.order}.${doc.desc}">${docDetailsOrder}.${api.order}.${doc.order}.&nbsp;<span
                    class="line-through">${doc.desc}</span></a><%}else{%><a class="link"
                                                                            href="#${docDetailsOrder}.${api.order}.${doc.order}.${doc.desc}">${docDetailsOrder}.${api.order}.${doc.order}.&nbsp;${doc.desc}</a><%}%>
            </h4><%}else{%><h4 id="${docDetailsOrder}.${doc.order}.${doc.desc}"><a class="anchor"
                                                                                   href="#${docDetailsOrder}.${doc.order}.${doc.desc}"></a><%if(doc.deprecated){%><a
                    class="link" href="#${docDetailsOrder}.${doc.order}.${doc.desc}">${doc.order}.&nbsp;<span
                    class="line-through">${doc.desc}</span></a><%}else{%><a class="link"
                                                                            href="#${docDetailsOrder}.${doc.order}.${doc.desc}">${docDetailsOrder}.${doc.order}.&nbsp;${doc.desc}</a><%}%>
            </h4><%}%>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;${doc.type}</p></div>
                <%if(isNotEmpty(doc.author)){%>
                <div class="paragraph"><p><strong>Author:</strong>&nbsp;${doc.author}</p></div>
                <%}%>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;${doc.detail}</p></div>
                <%if(isNotEmpty(doc.headers)){%>
                <div class="paragraph"><p><strong>Request-headers:</strong></p></div>
                ${doc.headers}
                <%}%><%if(isNotEmpty(doc.requestParams)){%>
                <div class="paragraph"><p><strong>Request-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody><%for(param in doc.requestParams){%>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.field}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.type}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.desc}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.required}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.version}</p></td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
                <%}%><%if(isNotEmpty(doc.responseParams)){%>
                <div class="paragraph"><p><strong>Response-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                        <col style="width: 25%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Field</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody><%for(param in doc.responseParams){%>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.field}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.type}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.desc}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${param.version}</p></td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
                <%}%>
            </div>
            <%}%>
        </div>
    </div>
    <%}%><%if(isNotEmpty(errorCodeList)){%>
    <div class="sect1"><h2 id="error_code_list"><a class="anchor" href="#error_code_list"></a><a class="link"
                                                                                                 href="#error_code_list">${errorListOrder}.&nbsp;${errorListTitle}</a>
    </h2>
        <div class="sectionbody">
            <table class="tableblock frame-all grid-all spread">
                <colgroup>
                    <col style="width: 50%;">
                    <col style="width: 50%;">
                </colgroup>
                <thead>
                <tr>
                    <th class="tableblock halign-left valign-top">Error code</th>
                    <th class="tableblock halign-left valign-top">Description</th>
                </tr>
                </thead>
                <tbody><%for(error in errorCodeList){%>
                <tr>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">${error.value}</p></td>
                    <td class="tableblock halign-left valign-top"><p class="tableblock">${error.desc}</p></td>
                </tr>
                <%}%>
                </tbody>
            </table>
        </div>
    </div>
    <%}%><%if(isNotEmpty(dictList)){%>
    <div class="sect1"><h2 id="dict_list"><a class="anchor" href="#dict_list"></a><a class="link" href="#dict_list">${dictListOrder}.&nbsp;${dictListTitle}</a>
    </h2>
        <div class="sectionbody"><%for(dict in dictList){%>
            <div class="sect2"><h3 id="${dictListOrder}.${dict.order}.${dict.title}"><a class="anchor"
                                                                                        href="#${dictListOrder}.${dict.order}.${dict.title}"></a><a
                    class="link" href="#${dictListOrder}.${dict.order}.${dict.title}">${dictListOrder}.${dict.order}.&nbsp;${dict.title}</a>
            </h3>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 33%;">
                        <col style="width: 33%;">
                        <col style="width: 33%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Code</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                    </tr>
                    </thead>
                    <tbody><%for(dataDict in dict.dataDictList){%>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${dataDict.value}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${dataDict.type}</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">${dataDict.desc}</p></td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
            </div>
            <%}%>
        </div>
    </div>
    <%}%>
    <footer class="page-footer"><span class="copyright">${copyright}Generated at ${createTime}.</span><span
            class="footer-modification"></span></footer>
</div>
<script src="search.js?v=${version}"></script>
<script>$(function () {
    const Accordion = function (el, multiple) {
        this.el = el || {};
        this.multiple = multiple || false;
        const links = this.el.find('.dd');
        links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown)
    };
    Accordion.prototype.dropdown = function (e) {
        const $el = e.data.el;
        const $this = $(this), $next = $this.next();
        $next.slideToggle();
        $this.parent().toggleClass('open');
        if (!e.data.multiple) {
            $el.find('.submenu').not($next).slideUp("20").parent().removeClass('open')
        }
    };
    new Accordion($('#accordion'), false);
    hljs.initHighlightingOnLoad()
});</script>
</body>
</html>